package com.aring.deals.vo;

import com.aring.deals.bean.Admin;

public class AdminVo {
	private int id;
	private String name;

	public AdminVo(Admin admin){
		this.id = admin.getId();
		this.name = admin.getName();
	}
	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	@Override
	public String toString() {
		return "Admin [id=" + id + ", name=" + name + "]";
	}
}
